﻿@model BBICMS.Application.ViewModels.Front.ProductSearchVM

@using (Html.BeginForm("Index","Products",FormMethod.Get))
{
    <div class="form-group">
        @Html.TextBoxFor(model => model.Keyword, new { @class = "form-control", placeholder = Placeholder.EnterIDSearch })
    </div>

    <div class="form-group">
        @Html.DropDownListFor(model => model.MOQ, (SelectList)ViewBag.MOQs, "MOQ--", new { @class = "form-control" })
    </div>
    <div class="form-group">
        @Html.DropDownListFor(model => model.OverallColorId, (SelectList)ViewBag.Colors, Labels.HolisticColor + "--", new { @class = "form-control" })
    </div>

    <div class="form-group">
        @Html.DropDownListFor(model => model.SurfaceColorId, (SelectList)ViewBag.Colors, Labels.SurfaceColor + "--", new { @class = "form-control" })
    </div>

    <div class="form-group">
        @Html.DropDownListFor(model => model.BottomColorId, (SelectList)ViewBag.Colors, Labels.BottomColor + "--", new { @class = "form-control" })
    </div>
    <div class="form-group">
        @Html.DropDownListFor(model => model.QSizeId, (SelectList)ViewBag.QSizes, Labels.CircleSpecification + "--", new { @class = "form-control", placeholder = ModelMetadata.FromLambdaExpression(x => x.QSizeId, ViewData).Watermark })
    </div>

    <div class="form-group">
        @Html.DropDownListFor(model => model.BSizeId, (SelectList)ViewBag.BSizes, Labels.SpecificSpecification + "--", new { @class = "form-control", placeholder = ModelMetadata.FromLambdaExpression(x => x.BSizeId, ViewData).Watermark })
    </div>
    <div class="form-group">
        @Html.DropDownListFor(model => model.CategoryId, (SelectList)ViewBag.Categories, Labels.Category + "--", new { @class = "form-control" })
    </div>
    <button type="submit" class="btn btn-primary btn-block">@Buttons.Search</button>
}